 
@echo off

:: 提交修改
git add .
git commit -m 'update'
git push origin master

echo 'push success'
:: 构建
call yarn docs:build

echo "build success"
:: 进入待发布的目录
cd ./docs/.vitepress/dist 

git init
git remote add origin https://gitee.com/zuoshoupai/mynote.git 
git add .
git commit -m 'build'  
git push -f --set-upstream origin master:master

:: 完成
echo "it's done."
pause